package model

// SysTenantMenu 租户菜单关联表
type SysTenantMenu struct {
	BaseModel
	TenantID uint64 `json:"tenantId" gorm:"column:tenant_id;comment:租户ID"`
	MenuID   uint64 `json:"menuId" gorm:"column:menu_id;comment:菜单ID"`
}

// TableName 指定表名
func (SysTenantMenu) TableName() string {
	return "sys_tenant_menu"
}
